process {

    withName: 'KMA_INDEX_SPARSE' {
        ext.args = params.index_sparse_args
    }

    withName: 'KMA_KMA' {
        ext.args = params.module_args
    }

}
